package com.zmj.constant;

/**
 * 业务常量
 *
 * @author zmj
 * @date 2021-09-01 15:02
 */
public interface Constants {

    class SysCode {
        public static final String ERROR = "000001";
        public static final String SUCCESS = "000000";
    }

    class Login {
        public static final String JWT_HEADER = "Authorization";
        public static final String LOGIN_ERROR = "登陆失败！";
    }

    class RedisKeyPrefix {
        public static final String LOGIN_CODE = "init_template:login:v_code";

        public static final String REDISSON_HOST = "redis://";

        public static final String LOCK = "init_template:lock:";
    }

}
